package cn.zhz.pojo;

import java.io.Serializable;

public class Street implements Serializable {

    private Integer id;                 //街道编号
    private String name;                //街道名称
    private District district;          //所属区县编号

    public Street(){}

    public Street(Integer id, String name){
        this.id = id;
        this.name = name;
    }

    public Street(Integer id, String name, District district){
        this.id = id;
        this.name = name;
        this.district = district;
    }

    public District getDistrict() {
        return district;
    }

    public void setDistrict(District district) {
        this.district = district;
    }


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
